package com.ardo.mapper;

import com.ardo.entity.mall.Notice;
import com.ardo.entity.vo.Query;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface NoticeMapper {

    List<Notice> queryNoticeList(@Param("query") Query query);

    Notice queryNoticeDetail(@Param("id") Integer id);
}
